`timescale 1ns / 10ps
`define clock_period 20

module counter_num1_8bit_tb;

	reg[7:0] cin;
	wire[3:0] num;

	counter_num1_8bit cnt0(
		.Cin(cin),
		.Num(num)
	);
	
	initial begin
		
		cin = 8'b0000_0001;
		#(`clock_period)
		cin = 8'b0000_0011;
		#(`clock_period)
		cin = 8'b0000_0111;
		#(`clock_period)
		cin = 8'b0000_1111;
		#(`clock_period)
		cin = 8'b0001_1111;
		#(`clock_period)
		cin = 8'b0011_1111;
		#(`clock_period)
		cin = 8'b0111_1111;
		#(`clock_period)
		cin = 8'b1111_1111;
		#(`clock_period)
		
		$stop;
		
	end

endmodule
